<template>
    <div class="layout">
        <h1>加载失败</h1>
        <button @click="signout">注销</button>
    </div>
</template>

<script>
export default {
    name: 'mine',
    methods: {
        signout() {
            localStorage.removeItem("user");
            this.$router.push({path:'/login'})
        }
    }
}
</script>

<style lang="scss" scoped>
.layout {
    text-align: center;
    color: white;
    h1 {
        margin-top: 50px;
        font-size: 50px;
    }
    button {
        width: 60%;
        height: 50px;
        border-radius: 5px;
        margin-top: 350px;
    }
}
</style>